home *** CD-ROM | disk | FTP | other *** search
/ EuroCD 3 / EuroCD 3.iso / Programming / SecalDemo / Inc / datatypes / datatypesclass.inc < prev    next >
Text File  |  1998-06-24  |  5KB  |  245 lines

  1. include "inc/utility/tagitem.inc";
  2. include "inc/datatypes/datatypes.inc";
  3. include "inc/intuition/intuition.inc";
  4. include "inc/devices/printer.inc";
  5. include "inc/devices/prtbase.inc";
  6.  
  7. def DATATYPESCLASS = "datatypesclass";
  8.  
  9. def DTA_Dummy = (TAG_USER+$1000);
  10.  
  11. def DTA_TextAttr = (DTA_Dummy+10);
  12. def DTA_TopVert = (DTA_Dummy+11);
  13. def DTA_VisibleVert = (DTA_Dummy+12);
  14. def DTA_TotalVert = (DTA_Dummy+13);
  15. def DTA_VertUnit = (DTA_Dummy+14);
  16. def DTA_TopHoriz = (DTA_Dummy+15);
  17. def DTA_VisibleHoriz = (DTA_Dummy+16);
  18. def DTA_TotalHoriz = (DTA_Dummy+17);
  19. def DTA_HorizUnit = (DTA_Dummy+18);
  20. def DTA_NodeName = (DTA_Dummy+19);
  21. def DTA_Title = (DTA_Dummy+20);
  22. def DTA_TriggerMethods = (DTA_Dummy+21);
  23. def DTA_Data = (DTA_Dummy+22);
  24. def DTA_TextFont = (DTA_Dummy+23);
  25. def DTA_Methods = (DTA_Dummy+24);
  26. def DTA_PrinterStatus = (DTA_Dummy+25);
  27. def DTA_PrinterProc = (DTA_Dummy+26);
  28. def DTA_LayoutProc = (DTA_Dummy+27);
  29. def DTA_Busy = (DTA_Dummy+28);
  30. def DTA_Sync = (DTA_Dummy+29);
  31. def DTA_BaseName = (DTA_Dummy+30);
  32. def DTA_GroupID = (DTA_Dummy+31);
  33. def DTA_ErrorLevel = (DTA_Dummy+32);
  34. def DTA_ErrorNumber = (DTA_Dummy+33);
  35. def DTA_ErrorString = (DTA_Dummy+34);
  36. def DTA_Conductor = (DTA_Dummy+35);
  37. def DTA_ControlPanel = (DTA_Dummy+36);
  38. def DTA_Immediate = (DTA_Dummy+37);
  39. def DTA_Repeat = (DTA_Dummy+38);
  40.  
  41. def DTA_Name = (DTA_Dummy+100);
  42. def DTA_SourceType = (DTA_Dummy+101);
  43. def DTA_Handle = (DTA_Dummy+102);
  44. def DTA_DataType = (DTA_Dummy+103);
  45. def DTA_Domain = (DTA_Dummy+104);
  46.  
  47. def DTA_Left = (DTA_Dummy+105);
  48. def DTA_Top = (DTA_Dummy+106);
  49. def DTA_Width = (DTA_Dummy+107);
  50. def DTA_Height = (DTA_Dummy+108);
  51.  
  52. def DTA_ObjName = (DTA_Dummy+109);
  53. def DTA_ObjAuthor = (DTA_Dummy+110);
  54. def DTA_ObjAnnotation = (DTA_Dummy+111);
  55. def DTA_ObjCopyright = (DTA_Dummy+112);
  56. def DTA_ObjVersion = (DTA_Dummy+113);
  57. def DTA_ObjectID = (DTA_Dummy+114);
  58. def DTA_UserData = (DTA_Dummy+115);
  59. def DTA_FrameInfo = (DTA_Dummy+116);
  60.  
  61. def DTA_RelRight = (DTA_Dummy+117);
  62. def DTA_RelBottom = (DTA_Dummy+118);
  63. def DTA_RelWidth = (DTA_Dummy+119);
  64. def DTA_RelHeight = (DTA_Dummy+120);
  65.  
  66. def DTA_SelectDomain = (DTA_Dummy+121);
  67. def DTA_TotalPVert = (DTA_Dummy+122);
  68. def DTA_TotalPHoriz = (DTA_Dummy+123);
  69. def DTA_NominalVert = (DTA_Dummy+124);
  70. def DTA_NominalHoriz = (DTA_Dummy+125);
  71.  
  72. def DTA_DestCols = (DTA_Dummy+400);
  73. def DTA_DestRows = (DTA_Dummy+401);
  74. def DTA_Special = (DTA_Dummy+402);
  75. def DTA_RastPort = (DTA_Dummy+403);
  76. def DTA_ARexxPortName = (DTA_Dummy+404);
  77.  
  78. def DTST_RAM = 1;
  79. def DTST_FILE = 2;
  80. def DTST_CLIPBOARD = 3;
  81. def DTST_HOTLINK = 4;
  82.  
  83. struct DTSpecialInfo is
  84.   si_Lock:SignalSemaphore;
  85.   si_Flags:ulong;
  86.   si_TopVert:long;
  87.   si_VisVert:long;
  88.   si_TotVert:long;
  89.   si_OTopVert:long;
  90.   si_VertUnit:long;
  91.   si_TopHoriz:long;
  92.   si_VisHoriz:long;
  93.   si_TotHoriz:long;
  94.   si_OTopHoriz:long;
  95.   si_HorizUnit:long;
  96. ;
  97.  
  98. def DTSIF_LAYOUT = (1<<0);
  99. def DTSIF_NEWSIZE = (1<<1);
  100. def DTSIF_DRAGGING = (1<<2);
  101. def DTSIF_DRAGSELECT = (1<<3);
  102. def DTSIF_HIGHLIGHT = (1<<4);
  103. def DTSIF_PRINTING = (1<<5);
  104. def DTSIF_LAYOUTPROC = (1<<6);
  105.  
  106. struct DTMethod is
  107.   dtm_Label:ulong;
  108.   dtm_Command:ulong;
  109.   dtm_Method:ulong;
  110. ;
  111.  
  112. def DTM_Dummy = ($600);
  113.  
  114. def DTM_FRAMEBOX = ($601);
  115. def DTM_PROCLAYOUT = ($602);
  116. def DTM_ASYNCLAYOUT = ($603);
  117. def DTM_REMOVEDTOBJECT = ($604);
  118. def DTM_SELECT = ($605);
  119. def DTM_CLEARSELECTED = ($606);
  120. def DTM_COPY = ($607);
  121. def DTM_PRINT = ($608);
  122. def DTM_ABORTPRINT = ($609);
  123. def DTM_NEWMEMBER = ($610);
  124. def DTM_DISPOSEMEMBER = ($611);
  125. def DTM_GOTO = ($630);
  126. def DTM_TRIGGER = ($631);
  127. def DTM_OBTAINDRAWINFO = ($640);
  128. def DTM_DRAW = ($641);
  129. def DTM_RELEASEDRAWINFO = ($642);
  130. def DTM_WRITE = ($650);
  131.  
  132. struct FrameInfo is
  133.   fri_PropertyFlags:ulong;
  134.   fri_Resolution:Point;
  135.   fri_RedBits:ubyte;
  136.   fri_GreenBits:ubyte;
  137.   fri_BlueBits:ubyte;
  138.  
  139.   fri_Dimensions:struct is
  140.     Width:ulong;
  141.     Height:ulong;
  142.     Depth:ulong;
  143.   ;
  144.   fri_Screen:ulong;
  145.   fri_ColorMap:ulong;
  146.   fri_Flags:ulong;
  147. ;
  148.  
  149. def FIF_SCALABLE = $1;
  150. def FIF_SCROLLABLE = $2;
  151. def FIF_REMAPPABLE = $4;
  152.  
  153. struct dtGeneral is
  154.   MethodID:ulong;
  155.   dtg_GInfo:ulong;
  156. ;
  157.  
  158. struct dtSelect is
  159.   MethodID:ulong;
  160.   dts_GInfo:ulong;
  161.   dts_Select:Rectangle;
  162. ;
  163.  
  164. struct dtFrameBox is
  165.   MethodID:ulong;
  166.   dtf_GInfo:ulong;
  167.   dtf_ContentsInfo:ulong;
  168.   dtf_FrameInfo:ulong;
  169.   dtf_SizeFrameInfo:ulong;
  170.   dtf_FrameFlags:ulong;
  171. ;
  172.  
  173. def FRAMEF_SPECIFY = (1<<0);
  174.  
  175. struct dtGoto is
  176.   MethodID:ulong;
  177.   dtg_GInfo:ulong;
  178.   dtg_NodeName:ulong;
  179.   dtg_AttrList:ulong;
  180. ;
  181.  
  182. struct dtTrigger is
  183.   MethodID:ulong;
  184.   dtt_GInfo:ulong;
  185.   dtt_Function:ulong;
  186.   dtt_Data:ulong;
  187. ;
  188.  
  189. def STM_PAUSE = 1;
  190. def STM_PLAY = 2;
  191. def STM_CONTENTS = 3;
  192. def STM_INDEX = 4;
  193. def STM_RETRACE = 5;
  194. def STM_BROWSE_PREV = 6;
  195. def STM_BROWSE_NEXT = 7;
  196.  
  197. def STM_NEXT_FIELD = 8;
  198. def STM_PREV_FIELD = 9;
  199. def STM_ACTIVATE_FIELD = 10;
  200.  
  201. def STM_COMMAND = 11;
  202.  
  203. def STM_REWIND = 12;
  204. def STM_FASTFORWARD = 13;
  205. def STM_STOP = 14;
  206. def STM_RESUME = 15;
  207. def STM_LOCATE = 16;
  208.  
  209. union printerIO is
  210.   ios:IOStdReq;
  211.   iodrp:IODRPReq;
  212.   iopc:IOPrtCmdReq;
  213. ;
  214.  
  215. struct dtPrint is
  216.   MethodID:ulong;
  217.   dtp_GInfo:ulong;
  218.   dtp_PIO:ulong;
  219.   dtp_AttrList:ulong;
  220. ;
  221.  
  222. struct dtDraw is
  223.   MethodID:ulong;
  224.   dtd_RPort:ulong;
  225.   dtd_Left:long;
  226.   dtd_Top:long;
  227.   dtd_Width:long;
  228.   dtd_Height:long;
  229.   dtd_TopHoriz:long;
  230.   dtd_TopVert:long;
  231.   dtd_AttrList:ulong;
  232. ;
  233.  
  234. struct dtWrite is
  235.   MethodID:ulong;
  236.   dtw_GInfo:ulong;
  237.   dtw_FileHandle:long;
  238.   dtw_Mode:ulong;
  239.   dtw_AttrList:ulong;
  240. ;
  241.  
  242. def DTWM_IFF = 0;
  243. def DTWM_RAW = 1;
  244.  
  245.